package demo4.dao;

import org.springframework.stereotype.Component;

@Component
public class UserDAPImpl implements IUserDAO{


    @Override
    public boolean findByUsername(String username) {
        System.out.println("This is UserDAO begin select root:"+username);
        if("张三".equals(username)){
            return true;
        }
        System.out.println("Not UserDAO:"+username);
        return false;
    }
}
